<?php

/*
 * Search exploits
 */
echo $colors->getColoredString('SEARCH EXPLOITS:', 'black', 'green');
try {
	var_dump($client->Search(array(
		'query' => 'cve',
	)));
} catch (Exception $e) {
	echo $e->getMessage()."\n";
}

/*
 * Count exploits
 */
echo $colors->getColoredString('COUNT EXPLOITS:', 'black', 'green');
try {
	var_dump($client->Count(array(
		'query' => 'cve',
	)));
} catch (Exception $e) {
	echo $e->getMessage()."\n";
}
